<!DOCTYPE html>
<html>
<head>
    <title>错误页面</title>
</head>
<body>
    <h1>发生错误</h1>
    <p>{{ error_message }}</p>
    {% if error_details %}
    <div style="color:red">{{ error_details }}</div>
    {% endif %}
</body>
</html>